package com.punai.apply.domain;

import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 成本编制模板管理对象 apply_cost_mould
 *
 * @author zhx
 * @date 2023-03-21
 */
public class ApplyCostMould extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
        private String id;

    /** $column.columnComment */
            @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
        private Long companyId;

    /** 版本名称 */
            @Excel(name = "版本名称")
        private String name;

    /** 版本号 */
            @Excel(name = "版本号")
        private BigDecimal verNum;

    /** 模板状态 */
            @Excel(name = "模板状态")
        private String state;

    /** 序号 */
            @Excel(name = "序号")
        private Integer orderNum;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setCompanyId(Long companyId)
            {
            this.companyId = companyId;
            }

    public Long getCompanyId()
            {
            return companyId;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setVerNum(BigDecimal verNum)
            {
            this.verNum = verNum;
            }

    public BigDecimal getVerNum()
            {
            return verNum;
            }
    public void setState(String state)
            {
            this.state = state;
            }

    public String getState()
            {
            return state;
            }

            public Integer getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(Integer orderNum) {
                this.orderNum = orderNum;
            }

            @Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("name", getName())
            .append("verNum", getVerNum())
            .append("state", getState())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
        .toString();
        }
        }
